package com.polaris.live.widget

import android.content.Context
import android.util.AttributeSet
import android.view.MotionEvent
import com.hjq.shape.layout.ShapeRecyclerView

/**
 * TouchRecyclerView
 *
 * @author Created by 半仙 on 2024/2/1 11:39
 */
class TouchRecyclerView(context: Context, attributeSet: AttributeSet) :
    ShapeRecyclerView(context, attributeSet) {

    override fun dispatchTouchEvent(ev: MotionEvent?): Boolean {
        parent.requestDisallowInterceptTouchEvent(true)
        return super.dispatchTouchEvent(ev)
    }
}